package com.ntd.study.modular.study_reflections;

import cn.hutool.core.lang.Console;

import java.util.Set;

/**
 * 反射操作框架测试
 */
public class Reflections {
    public static void main(String[] args) {
        //获取该路径下所有类
        org.reflections.Reflections reflections = new org.reflections.Reflections("com.diao.study_modular.study_reflections.types");
        final Set<Class<? extends TestReflection>> subTypesOf = reflections.getSubTypesOf(TestReflection.class);
        Console.log(subTypesOf);
    }
}
